package com.ferry.transport.api.channel;

import java.util.EventListener;

/**
 * Created by daiyong
 */
public interface FutureListener<C> extends EventListener {

	void success(C c) throws Exception;

	void failure(C c, Throwable cause) throws Exception;

}
